Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New nav, 2025 #234

Merged
merged 6 commits into from
Feb 5, 2025
Merged

New nav, 2025 #234

merged 6 commits into from
Feb 5, 2025

Conversation

niuage
Copy link
Member

@niuage niuage commented Jan 24, 2025

No description provided.

@niuage
Copy link
Member Author

niuage commented Jan 30, 2025

@@ -0,0 +1,23 @@
<% arrow_icon = '<i class="fa-arrow-right fas" aria-hidden="true"></i>'.html_safe %>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copilot is suggesting this.

<% arrow_icon = '<i class="fa-arrow-right fas" aria-hidden="true" aria-label="Arrow icon"></i>'.html_safe %> do we use this aria labels anywhere else?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the label, but it feels a bit pointless. Not sure where i got the aria-hidden from. We dont use these much.
I added "logo" to the alt attr of logos.

@devpost-mzheng
Copy link
Member

i went through this with copilot, it did not have any meaningful suggestions other than perhaps more accurate aria-labels. Logos for example can have logo be part of the attribute

…owns with the keyboard :( and improved the arrows on hover and focused states
@niuage niuage merged commit 569d1f5 into master Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants